package com.hl.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 售后物流信息对象 after_sales_logistics
 * 
 * @author ruoyi
 * @date 2025-08-09
 */
public class AfterSalesLogistics extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Integer id;

    /** 关联的售后服务单号 */
    @Excel(name = "关联的售后服务单号")
    private String serviceNo;

    /** 关联店铺ID（用于获取收货地址） */
    @Excel(name = "关联店铺ID", readConverterExp = "用=于获取收货地址")
    private Integer shopinfoId;

    /** 物流快递公司 */
    @Excel(name = "物流快递公司")
    private String logisticsCompany;

    /** 物流单号 */
    @Excel(name = "物流单号")
    private String logisticsNo;

    /** 发货/退货时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发货/退货时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date logisticsTime;

    /** 物流状态(1:待发货, 2:已发货, 3:运输中, 4:已签收, 5:已拒收) */
    @Excel(name = "物流状态(1:待发货, 2:已发货, 3:运输中, 4:已签收, 5:已拒收)")
    private Integer logisticsStatus;

    /** 签收时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "签收时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date signTime;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setServiceNo(String serviceNo) 
    {
        this.serviceNo = serviceNo;
    }

    public String getServiceNo() 
    {
        return serviceNo;
    }

    public void setShopinfoId(Integer shopinfoId) 
    {
        this.shopinfoId = shopinfoId;
    }

    public Integer getShopinfoId() 
    {
        return shopinfoId;
    }

    public void setLogisticsCompany(String logisticsCompany) 
    {
        this.logisticsCompany = logisticsCompany;
    }

    public String getLogisticsCompany() 
    {
        return logisticsCompany;
    }

    public void setLogisticsNo(String logisticsNo) 
    {
        this.logisticsNo = logisticsNo;
    }

    public String getLogisticsNo() 
    {
        return logisticsNo;
    }

    public void setLogisticsTime(Date logisticsTime) 
    {
        this.logisticsTime = logisticsTime;
    }

    public Date getLogisticsTime() 
    {
        return logisticsTime;
    }

    public void setLogisticsStatus(Integer logisticsStatus) 
    {
        this.logisticsStatus = logisticsStatus;
    }

    public Integer getLogisticsStatus() 
    {
        return logisticsStatus;
    }

    public void setSignTime(Date signTime) 
    {
        this.signTime = signTime;
    }

    public Date getSignTime() 
    {
        return signTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("serviceNo", getServiceNo())
            .append("shopinfoId", getShopinfoId())
            .append("logisticsCompany", getLogisticsCompany())
            .append("logisticsNo", getLogisticsNo())
            .append("logisticsTime", getLogisticsTime())
            .append("logisticsStatus", getLogisticsStatus())
            .append("signTime", getSignTime())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
